package com.hgw.Demo05_FacadePattern.Exercises13_7_4;

/**
 * Data time:2021/12/15 12:55
 * StudentID:2019112118
 * Author:hgw
 * Description:
 */
public class DataAnalysisFacade extends AbstractDataAnalysisFacade{

    private DataProcessing dp;
    private DataAnalysis da;
    private ReportForm rf;

    public DataAnalysisFacade() {
        dp = new DataProcessing();
        da = new DataAnalysis();
        rf = new ReportForm();
    }

    @Override
    public void DataAnalysis(String data) {
        dp.DataToXML(data);
        da.AnalysisXMl();
        rf.XMLtoReportForm();
    }
}
